Optimal. Leaf size=44 \[ \frac{a x^6}{6}+\frac{b \sin \left (c+d x^3\right )}{3 d^2}-\frac{b x^3 \cos \left (c+d x^3\right )}{3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0519132, antiderivative size = 44, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {14, 3379, 3296, 2637} \[ \frac{a x^6}{6}+\frac{b \sin \left (c+d x^3\right )}{3 d^2}-\frac{b x^3 \cos \left (c+d x^3\right )}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 3379
Rule 3296
Rule 2637
Rubi steps
\begin{align*} \int x^5 \left (a+b \sin \left (c+d x^3\right )\right ) \, dx &=\int \left (a x^5+b x^5 \sin \left (c+d x^3\right )\right ) \, dx\\ &=\frac{a x^6}{6}+b \int x^5 \sin \left (c+d x^3\right ) \, dx\\ &=\frac{a x^6}{6}+\frac{1}{3} b \operatorname{Subst}\left (\int x \sin (c+d x) \, dx,x,x^3\right )\\ &=\frac{a x^6}{6}-\frac{b x^3 \cos \left (c+d x^3\right )}{3 d}+\frac{b \operatorname{Subst}\left (\int \cos (c+d x) \, dx,x,x^3\right )}{3 d}\\ &=\frac{a x^6}{6}-\frac{b x^3 \cos \left (c+d x^3\right )}{3 d}+\frac{b \sin \left (c+d x^3\right )}{3 d^2}\\ \end{align*}
Mathematica [A] time = 0.0084399, size = 44, normalized size = 1. \[ \frac{a x^6}{6}+\frac{b \sin \left (c+d x^3\right )}{3 d^2}-\frac{b x^3 \cos \left (c+d x^3\right )}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.019, size = 73, normalized size = 1.7 \begin{align*}{\frac{a{x}^{6}}{6}}+{b \left ( -{\frac{{x}^{3}}{3\,d}}+{\frac{2}{3\,{d}^{2}}\tan \left ({\frac{d{x}^{3}}{2}}+{\frac{c}{2}} \right ) }+{\frac{{x}^{3}}{3\,d} \left ( \tan \left ({\frac{d{x}^{3}}{2}}+{\frac{c}{2}} \right ) \right ) ^{2}} \right ) \left ( 1+ \left ( \tan \left ({\frac{d{x}^{3}}{2}}+{\frac{c}{2}} \right ) \right ) ^{2} \right ) ^{-1}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.97892, size = 50, normalized size = 1.14 \begin{align*} \frac{1}{6} \, a x^{6} - \frac{{\left (d x^{3} \cos \left (d x^{3} + c\right ) - \sin \left (d x^{3} + c\right )\right )} b}{3 \, d^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.75342, size = 93, normalized size = 2.11 \begin{align*} \frac{a d^{2} x^{6} - 2 \, b d x^{3} \cos \left (d x^{3} + c\right ) + 2 \, b \sin \left (d x^{3} + c\right )}{6 \, d^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 4.5573, size = 49, normalized size = 1.11 \begin{align*} \begin{cases} \frac{a x^{6}}{6} - \frac{b x^{3} \cos{\left (c + d x^{3} \right )}}{3 d} + \frac{b \sin{\left (c + d x^{3} \right )}}{3 d^{2}} & \text{for}\: d \neq 0 \\\frac{x^{6} \left (a + b \sin{\left (c \right )}\right )}{6} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.09509, size = 82, normalized size = 1.86 \begin{align*} \frac{\frac{{\left ({\left (d x^{3} + c\right )}^{2} - 2 \,{\left (d x^{3} + c\right )} c\right )} a}{d} - \frac{2 \,{\left (d x^{3} \cos \left (d x^{3} + c\right ) - \sin \left (d x^{3} + c\right )\right )} b}{d}}{6 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]